package com.hnkywl.sts.dao.shgl;

import com.hnkywl.sts.entity.shgl.Dlf;
import net.ruixin.orm.hibernate.SimpleHibernateTemplate;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 说明：
 * 包:        com.hnkywl.sts.dao.sfgl
 * 类描述:    资金占用费dao类
 * 修改备注: [说明本次修改内容]
 * 版本:        [v1.0]
 */
@Repository
public class DlfDao extends SimpleHibernateTemplate<Dlf, Long> {
    public List<Dlf> findDlfByXsdId(Long xsdId) {
        String hql = " from Dlf where xsd.id = ? and deleted = 0";
        return this.find(hql, xsdId);
    }
}
